home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / vbasic / loanapp.exe / LOANF3.FRM < prev    next >
Text File  |  1993-07-22  |  15KB  |  468 lines

  1. VERSION 2.00
  2. Begin Form Form3 
  3.    BackColor       =   &H00808080&
  4.    ClientHeight    =   5040
  5.    ClientLeft      =   255
  6.    ClientTop       =   1725
  7.    ClientWidth     =   8880
  8.    ControlBox      =   0   'False
  9.    Height          =   5445
  10.    Left            =   195
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form3"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   5040
  16.    ScaleWidth      =   8880
  17.    Top             =   1380
  18.    Width           =   9000
  19.    Begin CommandButton Command3 
  20.       Caption         =   "Cancel"
  21.       Height          =   300
  22.       Left            =   4995
  23.       TabIndex        =   19
  24.       Top             =   4470
  25.       Width           =   3000
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "OK"
  29.       Height          =   300
  30.       Left            =   885
  31.       TabIndex        =   18
  32.       Top             =   4455
  33.       Width           =   3000
  34.    End
  35.    Begin PictureBox Picture7 
  36.       Height          =   1185
  37.       Left            =   45
  38.       ScaleHeight     =   1155
  39.       ScaleWidth      =   8760
  40.       TabIndex        =   20
  41.       Top             =   3000
  42.       Width           =   8790
  43.       Begin CheckBox Check1 
  44.          Caption         =   "ARM:"
  45.          Height          =   240
  46.          Index           =   4
  47.          Left            =   3120
  48.          TabIndex        =   25
  49.          Top             =   795
  50.          Width           =   795
  51.       End
  52.       Begin CheckBox Check1 
  53.          Caption         =   "GPM"
  54.          Height          =   240
  55.          Index           =   2
  56.          Left            =   1755
  57.          TabIndex        =   23
  58.          Top             =   765
  59.          Width           =   1080
  60.       End
  61.       Begin VBedit BEditF3 
  62.          CellHeight      =   480
  63.          CellWidth       =   360
  64.          CombBaseLine    =   390
  65.          CombEndHeight   =   120
  66.          CombEndMarker   =   0   'False
  67.          CombHeight      =   60
  68.          FontBold        =   -1  'True
  69.          FontItalic      =   0   'False
  70.          FontName        =   "MS Sans Serif"
  71.          FontSize        =   9.75
  72.          FontStrikethru  =   0   'False
  73.          FontUnderline   =   0   'False
  74.          Height          =   495
  75.          Index           =   8
  76.          InflateBottom   =   180
  77.          InflateLeft     =   180
  78.          InflateRight    =   180
  79.          InflateTop      =   240
  80.          Left            =   3945
  81.          TabIndex        =   27
  82.          Top             =   615
  83.          Version         =   268435458
  84.          Width           =   4770
  85.       End
  86.       Begin CheckBox Check1 
  87.          Caption         =   "Other:"
  88.          Height          =   240
  89.          Index           =   3
  90.          Left            =   3120
  91.          TabIndex        =   24
  92.          Top             =   225
  93.          Width           =   840
  94.       End
  95.       Begin CheckBox Check1 
  96.          Caption         =   "Fixed Rate"
  97.          Height          =   240
  98.          Index           =   1
  99.          Left            =   1755
  100.          TabIndex        =   22
  101.          Top             =   225
  102.          Width           =   1275
  103.       End
  104.       Begin VBedit BEditF3 
  105.          CellHeight      =   480
  106.          CellWidth       =   360
  107.          CombBaseLine    =   390
  108.          CombEndHeight   =   120
  109.          CombEndMarker   =   0   'False
  110.          CombHeight      =   60
  111.          FontBold        =   -1  'True
  112.          FontItalic      =   0   'False
  113.          FontName        =   "MS Sans Serif"
  114.          FontSize        =   9.75
  115.          FontStrikethru  =   0   'False
  116.          FontUnderline   =   0   'False
  117.          Height          =   495
  118.          Index           =   7
  119.          InflateBottom   =   180
  120.          InflateLeft     =   180
  121.          InflateRight    =   180
  122.          InflateTop      =   240
  123.          Left            =   3945
  124.          TabIndex        =   26
  125.          Top             =   45
  126.          Version         =   268435458
  127.          Width           =   4770
  128.       End
  129.       Begin Label Label7 
  130.          Caption         =   "Amortizaties Type:"
  131.          Height          =   240
  132.          Left            =   45
  133.          TabIndex        =   21
  134.          Top             =   45
  135.          Width           =   1665
  136.       End
  137.    End
  138.    Begin PictureBox Picture2 
  139.       Height          =   900
  140.       Left            =   6945
  141.       ScaleHeight     =   870
  142.       ScaleWidth      =   1860
  143.       TabIndex        =   1
  144.       Top             =   2010
  145.       Width           =   1890
  146.       Begin VBedit BEditF3 
  147.          CellHeight      =   480
  148.          CellWidth       =   360
  149.          CharSet         =   16652
  150.          CombBaseLine    =   390
  151.          CombEndHeight   =   120
  152.          CombEndMarker   =   0   'False
  153.          CombHeight      =   60
  154.          FontBold        =   -1  'True
  155.          FontItalic      =   0   'False
  156.          FontName        =   "MS Sans Serif"
  157.          FontSize        =   9.75
  158.          FontStrikethru  =   0   'False
  159.          FontUnderline   =   0   'False
  160.          Height          =   495
  161.          Index           =   6
  162.          InflateBottom   =   180
  163.          InflateLeft     =   180
  164.          InflateRight    =   180
  165.          InflateTop      =   240
  166.          Left            =   45
  167.          TabIndex        =   17
  168.          Top             =   330
  169.          Version         =   268435458
  170.          Width           =   1770
  171.       End
  172.       Begin Label Label6 
  173.          Caption         =   "Number of Months:"
  174.          Height          =   210
  175.          Left            =   45
  176.          TabIndex        =   16
  177.          Top             =   45
  178.          Width           =   1665
  179.       End
  180.    End
  181.    Begin PictureBox Picture3 
  182.       Height          =   900
  183.       Left            =   4995
  184.       ScaleHeight     =   870
  185.       ScaleWidth      =   1845
  186.       TabIndex        =   2
  187.       Top             =   2010
  188.       Width           =   1875
  189.       Begin VBedit BEditF3 
  190.          CellHeight      =   480
  191.          CellWidth       =   360
  192.          CharSet         =   16652
  193.          CombBaseLine    =   390
  194.          CombEndHeight   =   120
  195.          CombEndMarker   =   0   'False
  196.          CombHeight      =   60
  197.          FontBold        =   -1  'True
  198.          FontItalic      =   0   'False
  199.          FontName        =   "MS Sans Serif"
  200.          FontSize        =   9.75
  201.          FontStrikethru  =   0   'False
  202.          FontUnderline   =   0   'False
  203.          Height          =   495
  204.          Index           =   5
  205.          InflateBottom   =   180
  206.          InflateLeft     =   180
  207.          InflateRight    =   180
  208.          InflateTop      =   240
  209.          Left            =   45
  210.          TabIndex        =   15
  211.          Top             =   330
  212.          Version         =   268435458
  213.          Width           =   1485
  214.       End
  215.       Begin Label Label8 
  216.          Caption         =   "%"
  217.          FontBold        =   -1  'True
  218.          FontItalic      =   0   'False
  219.          FontName        =   "MS Sans Serif"
  220.          FontSize        =   9.75
  221.          FontStrikethru  =   0   'False
  222.          FontUnderline   =   0   'False
  223.          Height          =   240
  224.          Left            =   1575
  225.          TabIndex        =   28
  226.          Top             =   540
  227.          Width           =   255
  228.       End
  229.       Begin Label Label5 
  230.          Caption         =   "Interent Rate:"
  231.          Height          =   225
  232.          Left            =   45
  233.          TabIndex        =   14
  234.          Top             =   45
  235.          Width           =   1245
  236.       End
  237.    End
  238.    Begin PictureBox Picture4 
  239.       Height          =   900
  240.       Left            =   45
  241.       ScaleHeight     =   870
  242.       ScaleWidth      =   3810
  243.       TabIndex        =   3
  244.       Top             =   2010
  245.       Width           =   3840
  246.       Begin VBedit BEditF3 
  247.          CellHeight      =   480
  248.          CellWidth       =   360
  249.          CharSet         =   16652
  250.          CombBaseLine    =   390
  251.          CombEndHeight   =   120
  252.          CombEndMarker   =   0   'False
  253.          CombHeight      =   60
  254.          FontBold        =   -1  'True
  255.          FontItalic      =   0   'False
  256.          FontName        =   "MS Sans Serif"
  257.          FontSize        =   9.75
  258.          FontStrikethru  =   0   'False
  259.          FontUnderline   =   0   'False
  260.          Height          =   495
  261.          Index           =   4
  262.          InflateBottom   =   180
  263.          InflateLeft     =   180
  264.          InflateRight    =   180
  265.          InflateTop      =   240
  266.          Left            =   330
  267.          TabIndex        =   13
  268.          Top             =   345
  269.          Version         =   268435458
  270.          Width           =   3315
  271.       End
  272.       Begin Label Label9 
  273.          Caption         =   "$"
  274.          FontBold        =   -1  'True
  275.          FontItalic      =   0   'False
  276.          FontName        =   "MS Sans Serif"
  277.          FontSize        =   12
  278.          FontStrikethru  =   0   'False
  279.          FontUnderline   =   0   'False
  280.          Height          =   300
  281.          Left            =   150
  282.          TabIndex        =   29
  283.          Top             =   480
  284.          Width           =   180
  285.       End
  286.       Begin Label Label4 
  287.          Caption         =   "Amount of Loan:"
  288.          Height          =   210
  289.          Left            =   45
  290.          TabIndex        =   12
  291.          Top             =   45
  292.          Width           =   1950
  293.       End
  294.    End
  295.    Begin PictureBox Picture5 
  296.       Height          =   900
  297.       Left            =   4995
  298.       ScaleHeight     =   870
  299.       ScaleWidth      =   3810
  300.       TabIndex        =   4
  301.       Top             =   1035
  302.       Width           =   3840
  303.       Begin VBedit BEditF3 
  304.          CellHeight      =   480
  305.          CellWidth       =   360
  306.          CharSet         =   16652
  307.          CombBaseLine    =   390
  308.          CombEndHeight   =   120
  309.          CombEndMarker   =   0   'False
  310.          CombHeight      =   60
  311.          FontBold        =   -1  'True
  312.          FontItalic      =   0   'False
  313.          FontName        =   "MS Sans Serif"
  314.          FontSize        =   9.75
  315.          FontStrikethru  =   0   'False
  316.          FontUnderline   =   0   'False
  317.          Height          =   495
  318.          Index           =   3
  319.          InflateBottom   =   180
  320.          InflateLeft     =   180
  321.          InflateRight    =   180
  322.          InflateTop      =   240
  323.          Left            =   45
  324.          TabIndex        =   11
  325.          Top             =   330
  326.          Version         =   268435458
  327.          Width           =   3735
  328.       End
  329.       Begin Label Label3 
  330.          Caption         =   "Lender Case Number:"
  331.          Height          =   225
  332.          Left            =   30
  333.          TabIndex        =   10
  334.          Top             =   45
  335.          Width           =   1920
  336.       End
  337.    End
  338.    Begin PictureBox Picture6 
  339.       Height          =   900
  340.       Left            =   45
  341.       ScaleHeight     =   870
  342.       ScaleWidth      =   3810
  343.       TabIndex        =   5
  344.       Top             =   1035
  345.       Width           =   3840
  346.       Begin VBedit BEditF3 
  347.          CellHeight      =   480
  348.          CellWidth       =   360
  349.          CharSet         =   16652
  350.          CombBaseLine    =   390
  351.          CombEndHeight   =   120
  352.          CombEndMarker   =   0   'False
  353.          CombHeight      =   60
  354.          FontBold        =   -1  'True
  355.          FontItalic      =   0   'False
  356.          FontName        =   "MS Sans Serif"
  357.          FontSize        =   9.75
  358.          FontStrikethru  =   0   'False
  359.          FontUnderline   =   0   'False
  360.          Height          =   495
  361.          Index           =   2
  362.          InflateBottom   =   180
  363.          InflateLeft     =   180
  364.          InflateRight    =   180
  365.          InflateTop      =   240
  366.          Left            =   30
  367.          TabIndex        =   9
  368.          Top             =   330
  369.          Version         =   268435458
  370.          Width           =   3750
  371.       End
  372.       Begin Label Label2 
  373.          Caption         =   "Agency Case Number:"
  374.          Height          =   225
  375.          Left            =   45
  376.          TabIndex        =   8
  377.          Top             =   45
  378.          Width           =   1950
  379.       End
  380.    End
  381.    Begin PictureBox Picture1 
  382.       Height          =   900
  383.       Left            =   45
  384.       ScaleHeight     =   870
  385.       ScaleWidth      =   8760
  386.       TabIndex        =   0
  387.       Top             =   60
  388.       Width           =   8790
  389.       Begin VBedit BEditF3 
  390.          CellHeight      =   480
  391.          CellWidth       =   360
  392.          CombBaseLine    =   390
  393.          CombEndHeight   =   120
  394.          CombEndMarker   =   0   'False
  395.          CombHeight      =   60
  396.          FontBold        =   -1  'True
  397.          FontItalic      =   0   'False
  398.          FontName        =   "MS Sans Serif"
  399.          FontSize        =   9.75
  400.          FontStrikethru  =   0   'False
  401.          FontUnderline   =   0   'False
  402.          Height          =   495
  403.          Index           =   1
  404.          InflateBottom   =   180
  405.          InflateLeft     =   180
  406.          InflateRight    =   180
  407.          InflateTop      =   240
  408.          Left            =   45
  409.          TabIndex        =   7
  410.          Top             =   360
  411.          Version         =   268435458
  412.          Width           =   8670
  413.       End
  414.       Begin Label Label1 
  415.          Caption         =   "Morgtage Applied for:"
  416.          Height          =   255
  417.          Left            =   45
  418.          TabIndex        =   6
  419.          Top             =   45
  420.          Width           =   1875
  421.       End
  422.    End
  423. End
  424.  
  425. Sub Check1_Click (Index As Integer)
  426.     If Form3.Visible = True Then
  427.         If Check1(Index).Value = 1 Then
  428.             For i = 1 To 4
  429.                 If Index <> i Then
  430.                     Check1(i).Value = 0
  431.                 End If
  432.             Next i
  433.         ElseIf ((Index = 3) Or (Index = 4)) Then
  434.             Form3.BEditF3(Index + 4).Text = ""
  435.             MainRec.A.A7 = ""
  436.         End If
  437.     End If
  438. End Sub
  439.  
  440. Sub Command1_Click ()
  441.     MainRec.A.A1 = Form3.BEditF3(1).Text
  442.     MainRec.A.A2 = Form3.BEditF3(2).Text
  443.     MainRec.A.A3 = Form3.BEditF3(3).Text
  444.     MainRec.A.A4 = Form3.BEditF3(4).Text
  445.     MainRec.A.A5 = Form3.BEditF3(5).Text
  446.     MainRec.A.A6 = Form3.BEditF3(6).Text
  447.     For i = 1 To 4
  448.         If Form3.Check1(i).Value = 1 Then
  449.             MainRec.A.AC1 = i
  450.         End If
  451.     Next i
  452.     If (MainRec.A.AC1 = 3) Or (MainRec.A.AC1 = 4) Then
  453.         MainRec.A.A7 = Form3.BEditF3(MainRec.A.AC1 + 4).Text
  454.     End If
  455.     UpdateLabelA
  456.     Form3.Hide
  457. End Sub
  458.  
  459. Sub Command3_Click ()
  460.     Form3.Hide
  461. End Sub
  462.  
  463. Sub Form_Load ()
  464.     Form3.Left = 300
  465.     Form3.Top = (Screen.Height - Form3.Height) / 2
  466. End Sub
  467.  
  468.